package routers

import (
	"github.com/gin-gonic/gin"
	"goods-master/handlers"
)

func Init() *gin.Engine {

	r := gin.Default()
	r.POST("user/login", handlers.UserLogin)
	r.GET("/list", handlers.List)
	return r

}
